package com.ruoyi.qualityManagement.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出货检管理对象 outbound_inspection
 * 
 * @author admin
 * @date 2024-07-05
 */
public class OutboundInspection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出货检记录ID */
    private Long inspectionId;

    /** 质检任务号 */
    @Excel(name = "质检任务号")
    private String qualityInspectionNumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 检验数量 */
    @Excel(name = "检验数量")
    private BigDecimal inspectionQuantity;

    /** 检验结果 */
    @Excel(name = "检验结果")
    private String inspectionResult;

    /** 处理方式 */
    @Excel(name = "处理方式")
    private String processingMode;

    /** 检验完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检验完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionCompletionTime;

    /** 检验员 */
    @Excel(name = "检验员")
    private String inspector;

    /** 仓库 */
    @Excel(name = "仓库")
    private String stash;

    /** 来源单号 */
    @Excel(name = "来源单号")
    private String sourceOrderNumber;

    /** 出入库业务单号 */
    @Excel(name = "出入库业务单号")
    private String inboundOutboundNumber;

    public void setInspectionId(Long inspectionId) 
    {
        this.inspectionId = inspectionId;
    }

    public Long getInspectionId() 
    {
        return inspectionId;
    }
    public void setQualityInspectionNumber(String qualityInspectionNumber) 
    {
        this.qualityInspectionNumber = qualityInspectionNumber;
    }

    public String getQualityInspectionNumber() 
    {
        return qualityInspectionNumber;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setInspectionQuantity(BigDecimal inspectionQuantity) 
    {
        this.inspectionQuantity = inspectionQuantity;
    }

    public BigDecimal getInspectionQuantity() 
    {
        return inspectionQuantity;
    }
    public void setInspectionResult(String inspectionResult) 
    {
        this.inspectionResult = inspectionResult;
    }

    public String getInspectionResult() 
    {
        return inspectionResult;
    }
    public void setProcessingMode(String processingMode) 
    {
        this.processingMode = processingMode;
    }

    public String getProcessingMode() 
    {
        return processingMode;
    }
    public void setInspectionCompletionTime(Date inspectionCompletionTime) 
    {
        this.inspectionCompletionTime = inspectionCompletionTime;
    }

    public Date getInspectionCompletionTime() 
    {
        return inspectionCompletionTime;
    }
    public void setInspector(String inspector) 
    {
        this.inspector = inspector;
    }

    public String getInspector() 
    {
        return inspector;
    }
    public void setStash(String stash) 
    {
        this.stash = stash;
    }

    public String getStash() 
    {
        return stash;
    }
    public void setSourceOrderNumber(String sourceOrderNumber) 
    {
        this.sourceOrderNumber = sourceOrderNumber;
    }

    public String getSourceOrderNumber() 
    {
        return sourceOrderNumber;
    }
    public void setInboundOutboundNumber(String inboundOutboundNumber) 
    {
        this.inboundOutboundNumber = inboundOutboundNumber;
    }

    public String getInboundOutboundNumber() 
    {
        return inboundOutboundNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inspectionId", getInspectionId())
            .append("qualityInspectionNumber", getQualityInspectionNumber())
            .append("materialName", getMaterialName())
            .append("state", getState())
            .append("inspectionQuantity", getInspectionQuantity())
            .append("inspectionResult", getInspectionResult())
            .append("processingMode", getProcessingMode())
            .append("inspectionCompletionTime", getInspectionCompletionTime())
            .append("inspector", getInspector())
            .append("stash", getStash())
            .append("sourceOrderNumber", getSourceOrderNumber())
            .append("inboundOutboundNumber", getInboundOutboundNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
